/*******************************************************************
 * 
 * @Version : 0.5 
 *
 * MonsterDef.java 
 *
 * 2011-10-11 上午09:55:09
 *
 *******************************************************************/
package game.breeze.resource;

import jxl.Cell;

import org.apache.commons.lang.math.NumberUtils;

/**
 * Class desc there
 * 
 * @author yangwei ywengineer@gmail.com
 * 
 */
public class MonsterDef extends GameObjectDef {
	/** 攻击范围 */
	private int attackRegion;
	/** 移动速度 */
	private int moveSpeed;

	/**
	 * @param data
	 */
	public MonsterDef(Cell[] data) {
		super(data);
		attackRegion = NumberUtils.toInt(data[3].getContents());
		moveSpeed = NumberUtils.toInt(data[4].getContents());
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see game.breeze.Disposable#dispose()
	 */
	@Override
	public void dispose() {

	}

	/**
	 * @return the attackRegion
	 */
	public int getAttackRegion() {
		return attackRegion;
	}

	/**
	 * @return the moveSpeed
	 */
	public int getMoveSpeed() {
		return moveSpeed;
	}
}
